home *** CD-ROM | disk | FTP | other *** search
- program DemoE003;
- {------------------------------------------------------------------------------
- DBase File Editor
- Expanded Sample 3
- Demo Program
-
- Copyright (c) Richard F. Griffin
-
- 10 February 1992
-
- 102 Molded Stone Pl
- Warner Robins, GA 31088
-
- -------------------------------------------------------------
- Display and edit all record fields on-screen using an index.
- This includes the memo field.
-
- ********** Not For Use in a TurboVision Environment **********
-
- If it does not already exist, the DEMOE3.DBF file will be created
- by using the MakeTestData procedure in GS_GENF.PAS.
-
- All fields in the dBase record will be displayed on-screen using
- the FieldDisplay procedure in GS_dBFld_Objt. They can be modified
- and stored back to the dBase file using the FieldAccept procedure.
-
- Note that when the index key field LASTNAME is changed, the next
- record that displays is the record following the NEW key position.
-
- -------------------------------------------------------------------------------}
- uses
- CRT,
- DOS,
- GS_KeyI,
- GS_dBFld,
- GS_dBase,
- GS_FileH,
- GS_GenF;
- var
- MyFile : GS_dBFld_Objt;
- CkFile : file;
- DumyStr : string;
- NewFile : boolean;
-
- procedure DisplayRecord;
- begin